
import { request } from '@/utils/request';

export const login = async (data: any) => {

  return await request.post({
    url: `/staff/web/frontPage/passport/login.json?username=${data.username}&password=${data.password}`,
    data,
  })
}
